removing the current state or type when changing state or type
fixed winning prompt