second "if" loop doesn't stop looping.

Printable View