Fixed security issue

Fixed security issue found by Suraj Sawant (Paladion Networks).