common: remove extra cast