Remove debug mode from apply

Change-Id: I29f7abea6ad5506462cd2eb70823a2cc10852feb