remove warning about <> cast