fixed group rights. fixed resource dispose