fixed log mis-naming bug