fix nullpoint exception on people view