modify # custom function to not return an EvaluationError

fixes #26