typo causing insert returned dates error