add clean rule
add test
little fix