added automatic MapleData nil checking on conversion funcs