Fixed some var to let statments in BaseModel