add error handling & page delete prevention