fixed name of clean_params method (changed to cleanup_params)