cleaned up path and url