add user type decode rest
fix lower case bug