fix bug in GPS import, add limit in getdata for testing