raise error for -1