OnTriggerEnter works more than one time

In my game the door have a trigger. On event OnTriggerEnter it must opens and on event OnTriggerExit it must close.

But it start opens only in the first moment.
By some reason I have a lot of events OnTriggerEnter when I move inside the trigger, but it must be only one.

Before updating to Unity 5 it was normal

bool open;
bool isInsideTrigger;

void OnTriggerEnter (Collider other) {
	isInsideTrigger = true;
	if (other.gameObject.tag == "Player")		
		open = !open;

void OnTriggerExit (Collider other) {
	isInsideTrigger = false;
	if (other.gameObject.tag == "Player")
		open = !open;

seeing actual code would be very helpful but some of the issues would be caused by the fact the door collider moves when it opens so the player can exit out of it when its doing that, so I would suggest making the trigger stationary.