math mode issues