make debug option actually added