Add missing semicolon to .compact()

Add missing semicolon to .compact()