Try to fix the bug (add log)