20131122 fix nullpoint exception.