coverity#735691 Unchecked dynimic cast

Change-Id: I5b26469792cf7b2ac6b1b28e2419cadeea09a37d