fix regex to avoid hitting to grep