fix standalone here for minimization