Fix the bug with expanding "*"