cleanup magic words