Commit reference in the wrong spot