corrected use of path module in split