fixed a key problem