clean up revenue templates