fixed editDAy issue