fix for sourcing dirs