cycle.write not work