bug fix, exit is in sys and not os