Fixed #64: removed unused $encoded_params variable