findcode short wrong value compare