some fixes to gulp process