Fixed Bugs

Added $this-> to property references