fixed rendering of panel after redirect