fix urls and config