fix date bug with output ref interpolation