fix to standalone bundle