Remove debug extension string