tidy up source tree