Fixes URL error
Tidy up indentation