Fixed two errors that occur when included chronos from a node module