add runnable handler in engine

add runnable handler in engine