resolve relative arguments