typo; referenced non-object