Fix for user model passing config object