cleanup useles spaces
fix define field. Custom_tv may be is any fiedl (textarea, input, select, etc)