fix npe in issue #12