removing additional code from filters