Quick fix to private property access issue