fixed minor bugs with file paths