fixed unexsiting key problem