use sync version in quickrun hook
more comment
rename function