comments to correct some minor optimization