set default mode to read