checking if properties are strings