Status encoding exception fixed