Bosonic ghost system and the Virasoro algebra