stupid library error on date