fixed bugs with practice mode.