fix log helper