remove the useless dependencies