fix NPE, change default URL for the application