added setopt EXTENDED_GLOB, helm fix