Before save when execute clean up