output bug solved