finish init pannel