empty command cause error, fixed.