rescue all the errors