add clean method to check relation with self