remove obsolete dead code warning workaround