fixed problem with multiple revenues