minor typeof corrections