thread-activity listener fix
javadoc