undid some log debug msg stuff