fix page layout bug