first propose for error handling in feature fitting.