add missing dependency. fix cli parsing.