submitLog fixed