prevent layout from rendering