Another key error fixed