fix double stringify bug