fixing type.