fixed minor access bug