prototype errors correction