fixed compile error in issue116