minor changed to log and map

removed some code that was not needed