fix the timestamps migration