fix open_db bug
add tmp_error_proof fct
fix convert_bool bug