fixed the case when live editing starts with a css file.