Fix bug in usage
slightly better error reporting