fix for git patch stuff