remove wildcard in command