fix free usage

remove Exception