fixed exception at top end of level