fix bug composite key