fix directory clean bug, upgrade to bower 1.0