fixed bug relating to failed address input

value used to indicate failure should be a word not a long