do not try to store empty key or value