fix hex encoding in filters