Fix bug to commit multiple files