Fixed invalid access to public property