remove restriction which is not satisfied by SortedMaps