Fixed issue with the levels generation