fix qbox signature generation