fix dist and sass build issues