o.c.u.pvmanager: tentative fix for casting exception