fixed some type-os