improve panels generate