fixed overflow on schedule