fixing deprecated methods, advanced search and tiny mce