fix for newer version of git