[fix] write issue