improve copyprop and rmdeadass for structs