clean inputs clean outputs
fixed issue #2