format 'dispel' as code