fix scrypt call