removing log stmt