application layout bug fixed