That entitytype, doesn't appear in the code you pasted. If your suggesting that's would should be there, then you don't actually have an entity called level in your code. You need to do:
Should do the trick!
EntityType terrain, level_COL
Should do the trick!