Fix errors with commit