fixing key import