removed nslogs, fixed minor bug