Fixed the prototype property setting