Corrected modal error