correct column counts to allow displaying