fix UserDetails builder