problem 51 working around a weird range return