Fixed edit thought saving issue