remove old code

close #115