update gulp file and bug fix