added conditional checks for flaot and uint32 array to reduce and empty