Revert "getdata fix"

This reverts commit cb71700531067f7130b61b70611a45bd618f0f4f.