fixed a bug in the information card dialog