fixes due to changes in predis itself
stricter checks in key method