Fixed url reference and compiler warnings