Fixed static cltrid in transfer_query() erb template