prevent index error when pushing onto zero-size heap
add uuid1_to_posix function