fixes app layout.