Fix problem with custom url are set but not working

Signed-off-by: Rogerio Prado de Jesus <rogeriopradoj@gmail.com>