add clean function for fixing content