add compressId functionality in removeSea operation