fix error on generation basePackage