Modified the bug that the app stops when the propertyValue is nill.