fix: check if key exist