fixed a typo, for some reason works only with bash