made plotex a hella lot more robust