added mask layer to config