Fixed "Property of Non-Object" Error on line 65