Service, NullPointer fixed