fixed, fyi xmax was missing from the first 2 of these, took me a while to figure out.