Enhance error layout