re-added entityOptions view helper