page does not delete properly