added loaded event handler for bg so now it will definitely show up