fixed initialization logtype in search form