more debug and extra call of getlocdata