fix bug with user data publishing