fixed malformed external command error