Fixed issue in getData