fix package separator in code gen