inputDate prepareValue fix