fix usage of deprecated Options