fix leading space in -d arguments