fixed index and auto url issues