fix passing of a shell variable, that can contain spaces