Fixed a bug with localdeb type