added a trim to the cmd error output