Fixed the bit comparison bug in on_enter() (was comparing integers instead of strings)