Fixed scope problem in point convert.