date adding fix