fix ModelBase.php