cleaned up the error resolution call