fixed command panel bug