remove prototype reference