Fixed bugs. To make other state correct.