_bgstyles bugfix