user api fix