fix RestPanel