Avoid fieldtrip error, need to verify correctness