resolve paths