fixing type 7