rm dep and fix bug