map layer small factory fix