handle empty commands