rename ktap_State to ktap_state