Fixed lookup relation field null isses.
Merge branch 'master' into lingjun