Critical sequrity issue fix

Facepalm.