fix mysql expire issue