put elements back in sam.html so it will work correctly