Fixed defaultvalue issue with c++ maps