fixed bug of auto time