fixed issue #96 , black filter bugfix