Fix callback issue in gulp feature