minor card related bugfix.