fix to log execution