minor fix to patches