cleaning up console output