fix errors caused by poor Git-Fu