make sure default values are correct for datetime