Fix for 3 vulnerabilities

Resolved three security vulnerabilities.