using a layout for 404 page broke it. Reverting.