Removed unecessary state change