Proper log fix