fix periodical type error bug