fix bug "java.lang.Exception: No runnable methods"