fixing up hyperopt stuff