fix doc variable type