Fixed deletion of page