trying to fix the operator error