output fix (error to debug)