fixed missing key error