Register Prototype created and previous bug fixed