call init after injecting