user repository fix