changed layeredfog to slabfog. because