fix datadir option missing