fix application layout