fixing commit message generation