Fixed bug.
Updated log output.