fixing issues related to hiredis