fix bugs when parsing multiple coffess files