Fix typos in automountkey handling defined type