error in dist