hopefully fixed the encoding issue at teh root of all the previous confusing commits