bundle resource access bug fix