More Modest fixes

turns out vertical bars are parsed in readthedocs, use abs instead!