fixed '0' default values being skipped in route generation, closes #362