modify class to uncopyable