main frame with bugs
fix the bug of copy constructor and delete bug