Fixed the nilearn incompatibility issue