config fix and fs dependency