Fix for layouts landing pages not working