fixes nested masks