Fixed epic wtf nullpointer.