cleanup error handling on page action