Fixed error in metapico