fix run mode in character controller