fixing up panels, fixes error pages