cleaning unseless code and dependencies