corrected my editor variable