fix handler variable in chooser