Fixed bug caused by compiler confusion by adding missing self. to property references.