Small fix as modloader is deprecated