fixed constraint issue