Little bug reading parameters in getdata