bugfix

fixed output bug