core: fix type for one time used args