fix init error message for elements not there
fix absolute url for file json