removed redundant log expression