fix changes about modal