fix constant type form 10 to 2