add debug option for loader (not used)