some type fixing