minor bug chang
filterlength 2 bug fixed