remove useless code
fix dependency