Fix use of getData vs. getValue