security vulnerability fix

Fixed small security hole.