checked if null in cardGUI.equals