Fixed bug that was preventing card object functions from working