Fix log calls