Fixing compact's syntax