Bug fixing and ignoring log