Fixing uninitialized constand url