fixed a contextual filter bug