removed alert(""); from show and index