fixed target hash being case sensitive