make appinit optional for null server