fixed user object passing instead of string