fix standalonify