fixed some syntax and usage errors