fixed static dir configuration