fixed bugs in gulp workflow