Fix bug when stylesheet doesn't exists.