Fix db userprofile table issue