convert possible content to pass the validation