fixed search model to use base model class.