fix bug in config.py parsing where it doesn't accept negative values