fixing issues with card