Attempt to fix key error.