rescue error while process