fix for https://github.com/endeav0r/rdis/issues/2