typos and namespace issue