bug and user state feature