minor fixes for scrypt format