corrected inline math rule