correct some missed variables