package registration fixed for xmof codegeneration