fixed filter problem preventing change function from working