only hack if the coremod's location is null