minor fixes, not functional