Security fix

Removed some testing code