key error complete