String comparison enabled deletion of empty pages