minor rename of variables
correct creation of input paths for lattices