added filter.toString for minifying