Feature/367 incorrect return of revenue model

fixed broken return of revenue model

See Issue #365