fix, setting metadata['date'] does not work