fix bug nullPointer