removing log and tmp