solve bug in Getblock location