more cleaning and fixing documentation