fix for user-import where error was not being returned