Fixed connmand localstate dir