floor generation bug fixed