[misc] clean up and documents