attempt to fix tile generation