removed coding errors from the filterchain.