Removed onclick to hopefully fix double scan bug