core: do fragment checks on module load