Fixed problem with error codes about peers creation.