more debugging in trim short