Having a 'continue' at the end of this look it pointless... it should be a break.
Attach a file by drag & drop or click to upload