fix mapping of pos argument