bugfix in AutoPopupMessage