remove cwrite