fixed apply interval return error.