fixed bug with idioms