fix invalid url error
better naming for properties