fix log call