cleaned log output for better debugging