fixed some errors

filter should be fine, upload cust still error
Revert "fixed some errors"

This reverts commit 53776f8205623468596ad7ee26b4331a96bfe08e.