fix minor error about obtaining prototype