removed ugly bug on building built without the materials