fixing application layout