Try to get married and file immigration petition as soon as possible. If your status turns illegal, the immigration officer will suspect your marriage and your intention of marriage even though it is a true marriage.