cal modal
fixed bug