jig the filtering and fix case error in dependencies