add management of error (add var error int st_map) and commit on all .c