fix standalone