Iss 118 fix bug in close project

fix #118