Removes singularities