fix debug option not to debug