Fixed an error on illegal datamodel expression