move some module to optionalDep