Remove zero from write string