updated for other errors