fixed some log output