cleanup instruments and documentation