add code for when occered error