remove minimize potential script
todo