now support FLAG_STANDALONE