Fixed variable keylength error