fixed opposite day bug