Fixing bug of sub /data paths