fixes CVE-2014-3514 vulnerability