Fixed. entity object was the trick.