Fix setting of user data