fix auto_now problem