Fix for card hiding bug

issue #41