fix bug for gcn-scrypt