--max-gap-length was being read as a string