random field tweaks and bugfixes