fix bug with output