echo-sd: Fix a bug