add some stuff that disappeared during patching