fixes #204 cast 2nd $modelClass to (string)