Fixed bug number 4 from list , resource on vilveiw forgot something to close