destroy prototype