fixing levelReached bug - #153