Fixed block layer bug