filterlength 2 bug fixed