oops, fixing major rendering problems