fixed web proj optional constraint impl. more code cleaning.