fix webpack loaders