callbacks & language highlighting fixes