won't derive from monobehaviour

I am getting an error that says my script doesn’t derive from monobehaviour but if you look below the script is deriving from monobehaviour. Does anyone know how to fix this.

Classname must match the filename, all the way down to capitalization, and you cannot have any extraneous spaces.

The script name is EnemyHandler but in the inspector it lists it as Enemy Handler causing them to have different names. Why does it do that?

Based on the above window, it looks exactly like it did when I made the script file:

Enemy Handler.cs

If you did that, don’t do that. Remove that space.