fixing type intitializer