Fixed a problem with log :)