Logging in bug fixed.