fixed bug, that not accessed maps won't be closed