clean ws seems not to work as expected