added bundle check