fixing type-o