renamed variable. fix for filter