prototype errir