fixed bug related to atmentions