fixed nllpointerexception hope xd