Removing useless pages