Bugfix bigbed generation