fix allow type isse