init for undefined issue