Remove error message while detect commands for alias