remove useless constraint