fixed app layout bug