fix to work like copy module