remove prototype code