Don't change page back to main page if error