fixing Issue 8.

This fixes issue 8, the variable found was not initialised.