portal cleans and fixes