resize not ok,alert ok