fix a bug, now displays correct info