moved line to define drm outside if statement concerning a new bundle or same