clean up a post input for TYPE_NEW whose certain property is not set.
remove empty links for many-to-many association.
maybe cleaning empty link is not necessary.