forgot includes
change handling of category search in log_new and model_new