term picker fix bug