multiple fixes in typeObjectDeclaration