properties: changed check of renaming property to string comparison