Fix some bugs.
Fix some bugs.

DasIch/logbook,Rafiot/logbook,redtoad/logbook,dvarrazzo/logbook,maykinmedia/logbook,alex/logbook,omergertel/logbook,omergertel/logbook,mbr/logbook,Rafiot/logbook,maykinmedia/logbook,FintanH/logbook,RazerM/logbook,fayazkhan/logbook,redtoad/logbook,alonho/logbook,fayazkhan/logbook,mbr/logbook,Rafiot/logbook,mitsuhiko/logbook,omergertel/logbook,alonho/logbook,alonho/logbook,narfdotpl/logbook,DasIch/logbook,pombredanne/logbook,DasIch/logbook,dvarrazzo/logbook,alex/logbook,dommert/logbook