fixed board to nil in cards index and show page