fixed bg stuff