set default value of init and dispatch flow to null