fix overflow issues with columns.