fix key controls