webpack bug fix