fix for #1054
minor typos