somehow encrypted write works now??