added errors back to application layout