check_write: Remove innecesary operation for C++ caloe library