minor correction to selenium hooks