Fix bugler when using BED input