this simple null checking may fixed araqne/issue#579