added missing initialisation of typesizespec