Fix error since time doesn't seem to be set