JAL-3762 check for !args || args=="" before overwriting