some more bug fixing and levels could be working now