Fix a bug caused by moving misa into state_t. (#180)