check for None when escaping arguments as ints