fixed more stuff for ppc
merge