fix destructive behavior(#2)