fix fragment transaction
purge unused code