fixed null get result error