fix plugin not work in brunch 1.7