fixing bug where wrong start/end date appeared initially