Not converting to signed correctly