fix standalone test errors