fix sha patterns