some fix for cards