fixing location of BaseModel