Crazy workaround for segfauls because of the empty item