fixed error messages for unknwon keys