My door's animation is not working properly

So i have done everything to open the door with E and close it with animation but the problem is it only works when opened and closed the first time but after that it starts to glitch alittle and then 0 animation is present and to even close the door the first time i have to touch the door so it closes

The things around it are nodes so the door can push the player instead of going through him