Background, fix bugs