Fix blank page removal