fix livereload bug