adjust panel init