add some comments, delete dead code, disable rope