Hopefully fixed BG stuff