fix empty key problem?