added undefined check.

tmx properties.