Fix null pointer exception, due to invalid url
releaes 0.4 version