Fixed obvious bug in getUserData argument