'xxx' does not name a type error