fixed bug with static rewrite gulp task