bugfix for live reloader