fixes a bug where pos gets screwed if `*` is used consecuitively