Fixing some errors in the application layout.