fix appUser < 0 bug