fix bug related to blank page addition