fix the memberCreate error from encoding