Fixed an error NullPointer