removed eval call for generator support detection