fixed _getSafeElemSize() calls
fixed _getSafeElemSize()