Fixes error in application layout