randomConfiguration bugfix