Cleaning some errors caused by git gui