fixed some output