fix bg spawning