fixed a key issue