fix log function