linux specific bug: URLs were not correctly constructed