fix modal var