Fixed crash if mod class returns null