revert #1650 #1661 #1664 #1670 made panel full of bug
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>