Fix panel recoding

Signed-off-by: Slava Zanko <slavazanko@gmail.com>