fixed global operator error