Fix standalone deployment problem