fix search form for TER