fixed access rule bug