remove safe read and write