fixed dist dir issue