remove array push to cols object in checkKeys Function