modal structure fix