fix char type for flying camera mode