fixed bugs with level 3