fixes for livereload injection