Error in plugin User Profiles

Hello, after installing the User Profiles (v1.3) plugin I found the following errors in the code:

--- models/UserProfilesProfile.php	Tue Sep 21 22:38:52 2021
+++ models/UserProfilesProfile.php	Sun Nov  5 22:03:25 2023
@@ -528,7 +528,7 @@
         foreach ($elementPost as $elementId => $texts) {
             // Pull this from the list of prior retrieved data instead of a new SQL query each time.
             $element = $this->getElementById($elementId);
-            if(!element) {
+            if(!$element) {
                 continue;
             }
             // Add this to the stack of elements that are stored on the form.
@@ -654,7 +654,7 @@
     private function _elementTextIsValid($elementTextRecord)
     {
         $elementRecord = $this->getElementById($elementTextRecord->element_id);
-        if(!elementRecord) {
+        if(!$elementRecord) {
             $isValid = true;
         }        
         $textValue = $elementTextRecord->text;
@@ -849,4 +849,4 @@
             }
         }
     }
-}
\ No newline at end of file
+}Preformatted text