fix time filter