fix on error.