提前trigger time; remove debug code; report error
remove unused code