As for the nmm text, to change it from math mode \text is apparently not ok, changed it to \textrm{}