Small fix to error message for undefined method