fixed date set issue on edit entry