fixed a bug in hearts display