fix issue with card restriction