array fix in layer and room