fixed those stupid date errors