fixed templates bug
add clean command