fixed header bug in dict_slurp
fixed undef warning in dict_slurp