Fix problem with incomplete urls in dynamic_load