added POSIXct check in addNAs