fixed log 0 problem