fixed loop problem sending wrong answer into div