fixed invalid empty  constraints