fix visible layers