cleanup of measure package