fix project amount automatic invoice