reinterpret_cast does not work, reverting back to original