#164 fix key exception