fix modal effect