litle pdate to set form attributes from annotations