fixed bug in adjusting the width of the suggestion