fix potential memleak; better help info